package com.bs.bsacexj.web.controller;



import com.bs.bsacexj.common.core.redis.RedisCache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/SyncBaiscData")
public class SyncBaseDataController {
    @Value("${siteInfo.siteId}")
    private String siteId;

    @Autowired
    RedisCache redisCache;
    @GetMapping("/test")
    public String selectUserInfoByCardNO(String cardNO) throws Exception {
        redisCache.setCacheObject("test","test");
        return siteId;
    }


}